home *** CD-ROM | disk | FTP | other *** search
- Declare Function IsAppLoaded Lib "kernel" Alias "GetModuleHandle" (ByVal N As String) As Integer
-
- Global Const TRUE = -1
- Global Const FALSE = 0
- Global Const NONE = 0
- Global Const HOT = 1
- Global Const COLD = 2
-
- Global nl As String
- Global q As String
- Global ProgName As String
- Global DirName As String
- Global ThisProg As String
-
- Global chan1 As String
-
- ' WindowState (form)
- Global Const NORMAL = 0 ' 0 - Normal
- Global Const MINIMIZED = 1 ' 1 - Minimized
- Global Const MAXIMIZED = 2 ' 2 - Maximized
-
- ' Show (form)
- Global Const MODAL = 1
- Global Const MODELESS = 0
-
-
- ' This is used when checking if a file exists
- Type OfStruct
- RecLen As String * 1
- IsFixed As String * 1
- ErrCode As Integer
- Reserved As String * 4
- CompleteName As String * 128
- End Type
-
- ' OpenFile is used to check if a file exists.
- ' lclose closes the file opened with OpenFile
- Declare Function OpenFile Lib "kernel" (ByVal fname$, aStruct As OfStruct, ByVal ofstyle%) As Integer
- Declare Function lclose Lib "kernel" Alias "_lclose" (ByVal FHandle%) As Integer
-
- Global Const OF_EXIST = &H4000
-
-